<div class="form">    
    <?php
    $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
        'id' => 'createServiceMeta',
        'htmlOptions' => array('class' => 'well'),
            ));
    ?>

    <?php echo $form->textFieldRow($model, 'serviceName', array('class' => 'span3')); ?>
    <?php
    echo $form->dropDownListRow($model, 'serviceCategory', $screen->getServiceCategoryData(), array('class' => 'span3', 'prompt' => 'Select Category'));
    ?>
    <?php
    echo $form->dropDownListRow($model, 'serviceRole', $screen->getServiceRolesData(), array('class' => 'span3', 'prompt' => 'Select Role'));
    ?>
    <div>
        <?php
        $completeBtn = $screen->createLink('completeBtn', array('linkType' => BUIScreen::LinkType_AjaxSubmitButton, 'label' => 'Complete'));
        echo $completeBtn;
        ?>
        <?php
        /*
          $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit',
          'label' => 'Complete',
          'htmlOptions' => array('name' => 'complete')));
         * 
         */
        ?>
        <?php
        $nextBtn = $screen->createLink('nextBtn', array('linkType' => BUIScreen::LinkType_AjaxSubmitButton, 'label' => 'Next'));
        echo $nextBtn;
        /*
          $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit',
          'label' => 'Next',
          'htmlOptions' => array('name' => 'next')));
         * 
         */
        ?>
        <?php        
        $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'reset',
            'label' => 'Reset',
            'htmlOptions' => array('name' => 'reset')));       
        ?>
        <?php
        $cancelBtn = $screen->createLink('cancelBtn', array('linkType' => BUIScreen::LinkType_AjaxSubmitButton, 'label' => 'Cancel'));
        echo $cancelBtn;       
        ?>
    </div>

    <?php $this->endWidget(); ?>
</div><!-- form -->

